package com.datang.petstore.generatemapper;

import com.datang.petstore.entity.MicroblogComment;
import com.datang.petstore.entity.MicroblogCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MicroblogCommentMapper {
    long countByExample(MicroblogCommentExample example);

    int deleteByExample(MicroblogCommentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MicroblogComment record);

    int insertSelective(MicroblogComment record);

    List<MicroblogComment> selectByExample(MicroblogCommentExample example);

    MicroblogComment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MicroblogComment record, @Param("example") MicroblogCommentExample example);

    int updateByExample(@Param("record") MicroblogComment record, @Param("example") MicroblogCommentExample example);

    int updateByPrimaryKeySelective(MicroblogComment record);

    int updateByPrimaryKey(MicroblogComment record);
}